//
// Created by guanyicheng on 2021/11/8.
//

#include <iostream>

using namespace std;

int main() {
    float x;
    cin >> x;
    cout << (int)(x + 0.5) << endl;
    return 0;
}